import Vue from 'vue'
import App from './App'
import store from './store'
import {toast} from './utils/tools'
import Cache from './utils/cache'
import minxinsApp from '@/mixins/app'
import uView from "@/components/uview-ui";
Vue.prototype.$toast = toast
Vue.prototype.$Cache = Cache
Vue.config.productionTip = false

Vue.use(uView);
App.mpType = 'app'
Vue.mixin(minxinsApp);
import lease from '@/components/lease/lease.vue';


Vue.mixin({
 data() {
  return {
   isHome: false
  }
 },
 onLoad(e) {
  console.log(e);
  
 },
 onShow() {
 },
 methods: {
  getBaseUrl(icon) {
   return `https://jsy.chuanyuguoji.com/assets/img/${icon}`
  },
 },

})

const app = new Vue({
    ...App,
	store,
	components: {
lease
	 }
})
app.$mount()
